SIMISA@@@@@@@@@@JINX0x1t______

Tr_SMS (
	Skip ( ** SL 5 sounds - Two looping audio streams, multiple waves - pitch shifted & Xfaded by current ** )
	Skip ( **             - One Horn audio stream				                                                  ** )
	Skip ( **             - One Compressor audio stream				                                            ** )
	Skip ( **             - One TBrake audio stream				                                                ** )
	Skip ( **             - One Coupling audio stream				                                              ** )
	Skip ( **             - One Control audio stream with individual Control sounds                       ** )
	Skip ( **             - One AWS alarm audio stream                                              ** )
	Skip ( **             - One Wipers audio stream                                              ** )
	ScalabiltyGroup( 5
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ()
		Volume(0.5)
		Streams ( 11
			Stream (
				Skip (**** Motori***************************************)
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  1.00 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  1.00 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  1.00 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past  1.00 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-200.000	60000
						0.000		8000
						200.000	60000
					)
					Granularity ( 25 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 -100.0            2.5
						 -10.0             2.5
						 -0.5              1.0
						 0.000		0.0
						 0.5              1.0
						 10.0             2.5
						 100.0            2.5
					)
					Granularity ( 0.05 )					
				)				
			)
			Stream (
				
				Skip(********************Ventilatori********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXVentilo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	3000
						0.000		3000
						100.000	3000
					)
					Granularity ( 25 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	0.8
						0.000		0.8
						100.000	0.8
					)
					Granularity ( 0.05 )		
				)
				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 54
					Skip( **** Relays**** )
					Variable_Trigger ( Variable2_Inc_Past 1.00 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.10 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 5.00 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 5.10 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 10.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 10.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 15.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 15.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 20.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 20.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 25.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 25.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 30.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 30.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 35.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 35.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 40.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 40.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 45.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 45.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 50.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 50.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 55.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 55.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 60.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 60.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 65.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 65.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 80.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 80.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 95.0 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 95.1 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 80.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 80.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 60.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 60.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 45.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 45.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 40.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 40.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 35.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 35.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 30.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 30.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 20.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 20.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 15.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 15.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 10.1 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 10.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 5.10 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 5.00 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 1.10 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano/Contattore4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 1.00 ReleaseLoopRelease () )
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "..\\..\\Suono_Italiano\\fischio.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\Suono_Italiano\\Tromba1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the Sander to be played at the same time  	**** )
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time 	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\GP38\\SOUND\\gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Volume ( 0.5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "..\\..\\HHP\\SOUND\\uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 13
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_reverserf.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_throttlef.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakef.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_vigilance.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_flightsf.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_pantot.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ebrake.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip ( **** Vigelence alarm  	**** )
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_deadman.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)


	Skip ( ** SL 3 sounds - One looping audio stream, idle wave and moving - pitch shifted by current ** )
	Skip ( **             - One Horn audio stream				                                              ** )
	Skip ( **             - One Compressor audio stream				                                        ** )
	Skip ( **             - One TBrake audio stream				                                            ** )
	Skip ( **             - One Control audio stream with individual Control sounds                   ** )
	Skip ( **             - One Wipers audio stream                                              ** )
	ScalabiltyGroup( 3
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ()
		Streams ( 8
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.00		10000
						0.01		10000
						1.00		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		0.5
						 0.100		1.0
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "..\\..\\Suono_Italiano\\fischio.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\Suono_Italiano\\Tromba1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Stream (
				Skip ( **** This stream allows the Sander to be played at the same time  	**** )
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\x_hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time 	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\GP38\\SOUND\\gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 13
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_reverserf.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_throttlef.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakef.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_vigilance.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_flightsf.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_pantot.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ebrake.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip ( **** Vigelence alarm  	**** )
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_deadman.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)
	
	Skip ( ** SL 1 sounds - One looping audio stream, idle wave and moving - pitch shifted by current ** )
	Skip ( **             - One Horn audio stream				                                              ** )
	Skip ( **             - One Control audio stream with generic control sounds                      ** )
	ScalabiltyGroup( 1
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ()
		Streams ( 4
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "..\\..\\Suono_Italiano\\XXElec1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.00		10000
						0.01		10000
						1.00		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		0.5
						 0.100		1.0
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "..\\..\\Suono_Italiano\\fischio.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\Suono_Italiano\\Tromba1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 15
					Discrete_Trigger (  6	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  7	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)
